package com.boil.qz.safekavass.web.controller;

import com.boil.util.OkBaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by ChenYong on 2016-09-23.
 * <br>
 * 主界面 Controller。
 */
@Controller
@RequestMapping("/web")
public class MainController extends OkBaseController {
    /**
     * 首页。
     *
     * @param model 模型
     * @return 首页-“/jsp/index.jsp”
     */
    @RequestMapping(method = RequestMethod.GET, value = "/index.html")
    public String index(Model model, String test) {
        return "/index";
    }
}